#!/bin/bash

VERSION=$1

git tag $1
git push --tags
docker build -t ccr.ccs.tencentyun.com/donknap/w7-im-server:${VERSION} .
docker push ccr.ccs.tencentyun.com/donknap/w7-im-server:${VERSION}